package com.bootdo.timing.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.timing.dao.HoldInfoDao;
import com.bootdo.timing.domain.HoldInfoDO;
import com.bootdo.timing.service.HoldInfoService;



@Service
public class HoldInfoServiceImpl implements HoldInfoService {
	@Autowired
	private HoldInfoDao holdInfoDao;
	
	@Override
	public HoldInfoDO get(Integer id){
		return holdInfoDao.get(id);
	}
	
	@Override
	public List<HoldInfoDO> list(Map<String, Object> map){
		return holdInfoDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return holdInfoDao.count(map);
	}
	
	@Override
	public int save(HoldInfoDO holdInfo){
		return holdInfoDao.save(holdInfo);
	}
	
	@Override
	public int update(HoldInfoDO holdInfo){
		return holdInfoDao.update(holdInfo);
	}
	
	@Override
	public int remove(Integer id){
		return holdInfoDao.remove(id);
	}
	
	@Override
	public int batchRemove(Integer[] ids){
		return holdInfoDao.batchRemove(ids);
	}
	
}
